package com.example.demo;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * Created by lijingyu on 2018/5/31.
 */
public interface EmployeeRepository extends JpaRepository<Employee, Integer> {

    // 通过性别查询
    public List<Employee> findByDno(Integer dno);

}
